from django.urls import path
from . import views

app_name = 'abcarta'
urlpatterns = [
    path('', views.products, name='admin_home_page'),
    path('users/authentication', views.auth_login, name='admin_auth_page'),
    path('users/logout', views.auth_logout, name='admin_logout_page'),
    path('products/', views.products, name='products'),
    path('orders/', views.orders, name='products'),
    path('partners/', views.partners, name='partners'),
    path('certificates/qualifications/', views.qualifications, name='qualifications'),
    path('certificates/honours', views.honours, name='honours'),
    path('news/', views.news_list, name='news_list'),
    path('project_updates/', views.project_updates, name='project_updates'),
    path('project/', views.project_list, name='project_list'),
    path('news/add/', views.add_news, name='add_news'),
    path('news/edit/<int:pk>/', views.edit_news, name='edit_news'),
    path('news_list/', views.news_list_api, name='news_list_api'),
]
